package top.blackr.folivora.common.security.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;
import top.blackr.folivora.common.security.auth.LoginAuthentication;

@Getter
public class LoginBeforeEvent extends ApplicationEvent {

    private final LoginAuthentication authentication;

    public LoginBeforeEvent(Object source, LoginAuthentication authentication) {
        super(source);
        this.authentication = authentication;
    }
}
